function [config] = getConfig_jointProcess(runId)
	
	if runId <= 100
		runFolder = createFolderIfNotExist(sprintf('../../results/week_level/jointProcess/run_%03d', runId));
	end
	if runId > 100 && runId <= 200
		runFolder = createFolderIfNotExist(sprintf('../../results/day_level/jointProcess/run_%03d', runId));
	end
	if runId > 200 && runId <= 300
		runFolder = createFolderIfNotExist(sprintf('../../results/continuous_time/jointProcess/run_%03d', runId));
	end
	
	if runId == 1
		runId_consumerAdoptions  = 1;
		runId_providerAdoptions  = 1;
		runId_providerExits      = 1;
	end
	if runId == 101
		runId_consumerAdoptions  = 101;
		runId_providerAdoptions  = 101;
		runId_providerExits      = 101;
	end
	if runId == 201
		runId_consumerAdoptions  = 201;
		runId_providerAdoptions  = 201;
		runId_providerExits      = 201;
	end
	if runId == 202 % save as 201 except for covariates kk' in consumerAdoptions model
		runId_consumerAdoptions  = 202;
		runId_providerAdoptions  = 201;
		runId_providerExits      = 201;
	end
	if runId == 203 % save as 201 except for covariates kk' in consumerAdoptions model
		runId_consumerAdoptions  = 203;
		runId_providerAdoptions  = 201;
		runId_providerExits      = 201;
	end
	if runId == 204 % save as 201 except for covariates kk' in consumerAdoptions model
		runId_consumerAdoptions  = 204;
		runId_providerAdoptions  = 201;
		runId_providerExits      = 201;
	end
	if runId == 205 % save as 201 except for covariates kk' in consumerAdoptions model
		runId_consumerAdoptions  = 205;
		runId_providerAdoptions  = 201;
		runId_providerExits      = 201;
	end
	if runId == 206 % save as 201 except no density normalization (robustness check)
		runId_consumerAdoptions  = 206;
		runId_providerAdoptions  = 202;
		runId_providerExits      = 202;
	end
	

	
	%%% PUT EVERYTHING TOGETHER
	config.runId             = runId;
	config.runFolder         = runFolder;
	
	config.runId_consumerAdoptions = runId_consumerAdoptions;
	config.runId_providerAdoptions  = runId_providerAdoptions;
	config.runId_providerExits      = runId_providerExits;
	
	config_consumerAdoptions = getConfig_consumerAdoptions(runId_consumerAdoptions);
	config_providerAdoptions  = getConfig_providerAdoptions(runId_providerAdoptions);
	config_providerExits      = getConfig_providerExits(runId_providerExits);
	
	config.runFolder_consumerAdoptions = config_consumerAdoptions.runFolder;
	config.runFolder_providerAdoptions  = config_providerAdoptions.runFolder;
	config.runFolder_providerExits      = config_providerExits.runFolder;
end
